<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/com/include/declare.jspf" %>
<%-- 
    JSP Name : estimation_tuixList.jsp
    Description : 트윅스
    author SJYoon
    since 2012. 6. 25.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 6. 25.     SJYoon     최초 생성
--%>

    <div class="half-section-cont">
    
        <c:set var="t" scope="page" value="1"></c:set>
        <c:set var="size" scope="page" value="${fn:length(tuixList) }" />

        <c:if test="${size != 0 }" >
            <script type="text/javascript">
            <!--//
            if ( $("#carcode").val().substring(0,2) == "RD" || $("#carcode").val().substring(0,2) == "RV" ){
                $('#Tarea').css("display","block");  
            }
            //-->
            </script>
        <c:forEach var="j" begin="0" end="${size-1 }" >
        <c:if test="${t % 2 == 1 }">
        <div class="section-loop"></c:if>
                    
            <div class="cell">
                <ul>        
                    <li>
                        <label>
                            <input type="radio" class="check" name="parts" onclick="selectTuix('<c:out value="${tuixList[j].partsCd}"/>','<c:out value="${tuixList[j].partsNm}"/>','<c:out value="${tuixList[j].price}"/>');" />
                            <em class="op-txt"><c:out value="${tuixList[j].partsNm}"/></em>
                        </label>
                        <p class="price"><span id="tuixPrice_<c:out value="${t}"/>_<c:out value="${j}"/>"><script>fnNumberFormatPrint(<c:out value="${tuixList[j].price}"/>, '#tuixPrice_<c:out value="${t}"/>_<c:out value="${j}"/>');</script></span>원</p>
                    </li>
                </ul>
            </div>

        <c:if test="${t % 2 == 0 || j == size }">
        </div>
        </c:if>
        <c:set var="t" scope="page" value="${t+1 }"></c:set>
        </c:forEach>
        </c:if>

    </div>